package org.springblade.modules.admin.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description
 * @Author ysq
 * @Date 2022/8/31
 **/
@Data
public class DeptGroupDTO {

	@NotNull
	@ApiModelProperty(value = "组名ID")
	private Long deptId;

	@NotBlank
	@ApiModelProperty(value = "组名")
	private String deptName;

	@NotEmpty(message = "用户列表不能为空")
	@ApiModelProperty(value = "用户列表")
	private List<Long> userIds;

}
